<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>人人自由任务后台管理系统</title>
		<link rel="stylesheet" href="../../styles/adminCss/backstage.css">
		<script type="text/javascript" src="../../editors/ckeditor.js"></script>
		<script type="text/javascript" src="../../editors/_samples/sample.js"></script>
		<script type="text/javascript" src="../../javascript/adminJs/jquery.min.js"></script>
		<script type="text/javascript" src="../../javascript/adminJs/commonFunc.js"></script>
<!-- 		<script type="text/javascript" src="../../javascript/adminJs/news.js"></script> -->
	</head>
	<body>
		<jsp:include page="top.jsp"></jsp:include>
		<div class="adminMain">
			<div class="adminLeft">
				<jsp:include page="left.jsp"></jsp:include>
			</div>
			<div class="adminRight">
			    <div class="content clearfix">
			        <div class="main">
			        
			        <div class="cont">
		                <div class="title">新闻发布</div>
		                <div class="details">
		                    <!--表格-->
		                    <form id="NewsInfoForm" method="post" action="/adminjsp/newsInfo"  ENCTYPE="multipart/form-data">
		                    <table class="table" cellspacing="0" cellpadding="0">
		                        <thead>
		                            <tr>
		                                <th width="15%">项目</th>
		                                <th width="85%">内容</th>
		                                
		                            </tr>
		                        </thead>
		                        <tbody>
		                        	
		                            <tr>
		                                <!--这里的id和for里面的c1 需要循环出来-->
		                                <td>新闻名称</td>
		                                <td><input class="rwtit" type="text" name="newsTitle" id="newsTitle" value="请填写新闻名称" onclick='this.value=""' /><i class="xing">*</i></td>
		                            </tr>
		                            <input class="rwpicin" type="hidden" name="newsAuth" id="newsAuth" value="${adminUser.adminName}"/>
		                            <tr>
		                                <td>新闻简介</td>
		                                <td><input class="rwpicin" type="text" name="mainKey" id="mainKey" value="填写50字以内的新闻简介" onclick='this.value=""' /></td>
		                            </tr>
		                            <tr>
		                                <td>新闻缩略图</td>
		                                <td>
		                                <input class="rwpicin" type="file" name="minPic" id="minPic" value="上传任务缩略图" onclick='this.value=""' />
		                                <i class="xing">*</i>
		                                <span class="picxz">请上传620*245像素的图</span>
		                                </td>
		                            </tr>
		                            <tr>
		                                <td>新闻大图</td>
		                                <td>
		                                <input class="rwpicin" type="file" name="maxPic" id="maxPic" value="上传任务大图" onclick='this.value=""' />
		                                <i class="xing">*</i>
		                                <span class="picxz">请上传1920*300像素的图</span>
		                                </td>
		                            </tr>
		                            <tr>
		                                <td>新闻内容</td>
		                                <td style="position:relative;">
		                                    <div class="Editorbox">
		                                    	<textarea name='newsContent' cols='80' rows='6' class='input1' id="editor1"></textarea>
												<script type="text/javascript">CKEDITOR.replace('editor1');</script>   
		                                    </div>
		                                </td>
		                            </tr>
		                            
		                            <tr>
		                                <td></td>
		                                <td>
		                                    <div class="bui_select">
		                                        <input id="addNewBtn" type="submit" value="发布新闻" class="add">
		                                    </div>
		                                </td>
		                            </tr>
		                            
		                        </tbody>
		                    </table>
		                    </form>
		                </div>
		            </div>
			        
			        </div>
			     </div>
			 </div>
		</div>
	</body>
	
</html>